__author__ = 'CrazyCode'

import time

try:
    f = open("finally.py")
    while True:
        line = f.readline()
        if len(line) == 0:
            break
        time.sleep(2)
        print(line)
finally:
    f.close()
    print("Cleaning up ... closed the file .")